﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace TV_2013.View
{
    public partial class MainGameScreen : PhoneApplicationPage
    {
        public MainGameScreen()
        {
            InitializeComponent();
        }

        //tap viet
        private void btn_ChucNang1_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate(new Uri("/View/Feature2/DrawText/DrawText.xaml?letter=null", UriKind.RelativeOrAbsolute));
        }

        //chuc nang ghep hinh
        private void btn_ChucNang2_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate(new Uri("/View/Feature2/CompoundWord/ViewMenuCompoundWord.xaml", UriKind.RelativeOrAbsolute));
        }

        //chuc nang doan hinh
        private void btn_ChucNang3_Click(object sender, RoutedEventArgs e)
        {
            NavigationService.Navigate(new Uri("/View/Feature2/MiniGame/ViewMenuGame.xaml", UriKind.RelativeOrAbsolute));
        }

        private void PhoneApplicationPage_BackKeyPress(object sender, System.ComponentModel.CancelEventArgs e)
        {
            NavigationService.Navigate(new Uri("/MainPage.xaml", UriKind.RelativeOrAbsolute));
        }
    }
}